package com.yaosheng.thread.jvm;

import sun.awt.HKSCS;
import sun.net.spi.nameservice.dns.DNSNameService;

/**
 * Created by yaosheng on 2021/7/8.
 */
public class ClassLoaderLevel {

    public static void main(String[] args) {

        System.out.println (String.class.getClassLoader ());
        System.out.println (HKSCS.class.getClassLoader ());
        System.out.println (DNSNameService.class.getClassLoader ());
        System.out.println (ClassLoaderLevel.class.getClassLoader ());

        System.out.println (DNSNameService.class.getClassLoader ().getClass ().getClassLoader ());
    }
}
